package com.gupaoedu.vip.Template;

/**
 * Created by zhaozhonghai on 2017/5/24.
 */
public abstract class FlowLine {
    //混合原材料
    protected abstract void mixedMaterial();

    private void canning(){
        System.out.println("饮料装罐");
    }

    protected abstract void tieShangbiao();

    private void zhuangxiang(){
        System.out.println("饮料装箱");
    }

    public void create(){
        this.mixedMaterial();//混合原材料
        this.canning();//饮料装罐
        this.tieShangbiao();//贴标签
        this.zhuangxiang();//装箱
    }
}
